<%@ page language="java"  pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>湖北包装网会员管理系统</title></head>
<style type="text/css">
<!--
body {
    margin:0;
	padding:0;
	font-size:12px;
	background:url(img/login_bg.jpg) repeat-x;
}
* {
    margin:0;
	padding:0;
}
#login {
    position:relative;
    width:229px;
	height:612px;
	background: url(img/login_bg2.jpg) no-repeat;
	float:right;
	margin-right:40px;
	display:inline;
}
#user {
	position:absolute;
	top:129px;
	left:70px;
}
#psw {
	position:absolute;
	top:165px;
	left:70px;
}
#btn {
	position:absolute;
	top:203px;
	left:58px;
	width:108px;
	height: 33px;
	text-indent:-9999em;
	display:block;
	cursor:pointer;
}
#btn input {
    width:108px;
	height:33px;
	background:none;
	border: none;
	cursor:pointer;
}
input {
    width:140px;
    height:16px;
	border:1px solid #CCC;
}
#logo {
	position:absolute;
	width:601px;
	height:71px;
	left: 19px;
	top: 198px;
}
-->
</style>
</head>
<script>
 function check(){
     if(form1.admin_name.value==""){
	      alert("请您输入登陆名！");
		  return false;
	 }
	 if(form1.admin_password.value==""){
	      alert("请您输入密码！");
		  return false;
	 }	 
	 return true;
 }
</script>
<body>
<form action="../manage/loginAdmin.action"  method="post" name=form1>
<div id="logo"><img src="img/login_logo.gif" /></div>
<div id="login">
  <div id="user"><input name="manage.admin_name" id="admin_name" type="text" /></div>
  <div id="psw"><input name="manage.admin_password" id="admin_password" type="password" /></div>
  <div id="btn"><input  type="submit" value="&nbsp"  onClick="javascript:return check()"></div>
  <div align="center" ><font color="red"><s:property value="tips"/></font></div>
</div>
</form>
</body>
</html>
